﻿using UnityEngine;
using System.Collections;
using FM_Mono;

[IgnoreGen]
public class TransparentRendererOrderAdjustor : MonoBehaviour
{
	public int sortingOrder = 0;

	// Use this for initialization
	[ContextMenu("Apply")]
	void Start ()
	{
		Renderer renderer = this.GetComponent<Renderer> ();
		if (renderer != null)
		{
			renderer.sortingOrder = sortingOrder;
		}
	}
	
}

